package com.catering;

import com.ruoyi.common.redis.configure.RedisConfig;
import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableCustomConfig
@EnableRyFeignClients
@EnableFeignClients(basePackages = "com.ruoyi.system.api")
@MapperScan("com.catering.mapper")
@Import(RedisConfig.class)  // 添加这行
public class LoginApp {
    public static void main(String[] args) {
        SpringApplication.run(LoginApp.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  用户模块启动成功   ლ(´ڡ`ლ)ﾞ " );
    }
}
